const common = {
  state: {
    addrChooseId: "",
    isChoose: 0,
    spikeList: [],
    spikeStoneList: [],
    goodsList: []
  },
  mutations: {
    SET_ADDRCHOOSEID: (state, addrChooseId) => {
      state.addrChooseId = addrChooseId
    },
    SET_ISCHOOSE: (state, isChoose) => {
      state.isChoose = isChoose
    },
    SET_GOODSLIST: (state, goodsList) => {
      state.goodsList = goodsList
    },
    SET_SPIKELIST: (state, spikeList) => {
      state.spikeList = spikeList
    },
    SET_SPIKELSTONEIST: (state, spikeStoneList) => {
      state.spikeList = spikeStoneList
    }
  }
}
export default common
